package jack.app.activepages;

//import io.appium.java_client.pagefactory.AndroidFindBy;
import net.serenitybdd.core.pages.PageObject;
import org.openqa.selenium.By;
//import org.openqa.selenium.WebElement;


/**
 * @ClassName HomePage
 * @Date 2024/11/12 14:26 37
 * @Author Jack Chen
 * @Description seremity-cucmber-app-ui-test-project
 * @Version 1.0
 */

public class HomePage extends PageObject {
//    @AndroidFindBy(id="")
//    private WebElement loginButton;

    public static final By USERNAME = By.xpath("//input[@name='username']");
    public static final By PASSWORD = By.xpath("//input[@name='password']");

    public static final By DataBoxContent = By.xpath("//android.widget.LinearLayout[@resource-id=\"com.alicloud.databox:id/layoutContent\"]/android.widget.RelativeLayout/android.widget.RelativeLayout");

    public void clickDataBoxContent() {

        $(DataBoxContent).click();
    }
}
